package com.utilities;


/**
 * 
 * @Title: StringUtil.java
 * @Description: org.app.ticket.util
 * @Package org.app.ticket.util
 * @date 2012-9-26
 * @version V1.0
 * 
 */
public class StringHelper {

	/**
	 *  return true if it is supplied with an empty, zero length,
	 * or whitespace-only string. documented
	 * 
	 * @param str
	 * @return
	 */
	public static boolean isEmptyString(String str) {
		return (str == null) || (str.trim().length() == 0);
	}

	public static boolean isEqualString(String arg0, String arg1) {
		return arg0.trim().equals(arg1.trim());
	}
}
